Ext.application({
	requires: [
		'Ext.container.Viewport',
		'Ext.direct.*',
	    'Ext.data.*',
		'Ext.panel.*',
		'Ext.layout.container.Card'
	],
	name: 'View',
	controllers: [
		'view.controller',  
	],
	
	appFolder: '../../app',
	
	init: function(app) {
		Ext.direct.Manager.addProvider(Ext.ss.APIDesc);
	},
	
	launch: function(){
		
	console.log('sec');
		
		Ext.create('Ext.container.Viewport', {
			layout: {
				type: 'card'
			},
			items: [{
				xtype: 'formGrid' 
			},{
				xtype: 'formRouter'
			},{
				xtype: 'routerForm'
			},{
				xtype: 'formApproverGrid' 
			},{
				xtype: 'panel',
				layout: {
					type: 'vbox',
					align: 'left'
				},
				autoScroll: true,
				items: [{
					xtype: 'formflowform'
				}]
				
				
			}],
			renderTo: Ext.getBody()
		
		});
	}
});



